// 自定义 GraphicsView 类
#pragma once
#include <QGraphicsView>
#include <QWheelEvent>
class CustomGraphicsView : public QGraphicsView
{
public:
    CustomGraphicsView(QWidget* parent = nullptr);
protected:
    void wheelEvent(QWheelEvent* event) override;
   
};


